count number of rows laravel controller

103

count number of rows laravel controller -

$wordlist = Wordlist::where('id', '<=', $correctedComparisons)->get();
$wordCount = $wordlist->count();

Comments

Submit
0 Comments